using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_CaseCause {

		/// <summary>
		/// 主键ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
		public string CC_ID { get; set; } = "";

		/// <summary>
		/// 全部父级ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(max)")]
		public string AllParentId { get; set; }

		/// <summary>
		/// 所有父级名称
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string AllParentName { get; set; }

		/// <summary>
		/// 辅助标签XML
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string AssistLabelXml { get; set; }

		/// <summary>
		/// 属性关系XML
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string AttrRelXML { get; set; }

		/// <summary>
		/// 案由状态标记
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string CC_CaseCauseStausFlag { get; set; }

		[JsonProperty]
		public int? CC_CaseElement { get; set; }

		/// <summary>
		/// 21版行政案由
		/// </summary>
		[JsonProperty]
		public int? CC_CauseType { get; set; }

		/// <summary>
		/// 编号
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CC_Code { get; set; }

		/// <summary>
		/// 是否同案要素
		/// </summary>
		[JsonProperty]
		public int? CC_CommonCase { get; set; } = 0;

		/// <summary>
		/// 自定义提取类型
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(255)")]
		public string CC_DefineExtractType { get; set; }

		/// <summary>
		/// 开发进度1已开发2正在开发3未开发
		/// </summary>
		[JsonProperty]
		public int? CC_DevelopSchedule { get; set; }

		[JsonProperty]
		public DateTime? CC_EffectiveDate { get; set; }

		/// <summary>
		/// 等价码
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(500)")]
		public string CC_EqualCode { get; set; }

		/// <summary>
		/// 解释
		/// </summary>
		[JsonProperty, Column(StringLength = 500)]
		public string CC_Explain { get; set; }

		/// <summary>
		/// 是否跑表述
		/// </summary>
		[JsonProperty]
		public int? CC_ExpressElement { get; set; }

		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CC_GlobalOrder { get; set; }

		/// <summary>
		/// 通过编号推断规则
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string CC_InferRuleTextByCode { get; set; }

		[JsonProperty]
		public int? CC_IsAgainProcessData { get; set; } = 0;

		[JsonProperty]
		public int? CC_IsBasicElements { get; set; }

		[JsonProperty]
		public int? CC_IsCombination { get; set; } = 0;

		/// <summary>
		/// 是否自定义提取
		/// </summary>
		[JsonProperty]
		public int? CC_IsDefineExtract { get; set; }

		/// <summary>
		/// 是否启动
		/// </summary>
		[JsonProperty, Column(InsertValueSql = "")]
		public int? CC_IsEnable { get; set; }

		[JsonProperty]
		public int? CC_IsProcessNode { get; set; } = 0;

		[JsonProperty]
		public int? CC_IsShowExpress { get; set; } = 0;

		/// <summary>
		/// 标准名称
		/// </summary>
		[JsonProperty, Column(StringLength = 500, IsNullable = false)]
		public string CC_Name { get; set; }

		/// <summary>
		/// 现用名称
		/// </summary>
		[JsonProperty, Column(StringLength = 500)]
		public string CC_Name2 { get; set; }

		[JsonProperty, Column(InsertValueSql = "")]
		public int? CC_NodeSubType { get; set; }

		/// <summary>
		/// 节点类型
		/// </summary>
		[JsonProperty]
		public int? CC_NodeType { get; set; }

		/// <summary>
		/// 官方代码
		/// </summary>
		[JsonProperty, Column(StringLength = 200)]
		public string CC_OfficialCode { get; set; }

		/// <summary>
		/// 父级ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CC_ParentID { get; set; }

		/// <summary>
		/// 正则信息单元编号
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CC_RegexInfoCode { get; set; }

		/// <summary>
		/// 排序号
		/// </summary>
		[JsonProperty, Column(DbType = "decimal(18,1)")]
		public decimal? CC_SerialNumb { get; set; }

		/// <summary>
		/// 法标代码
		/// </summary>
		[JsonProperty]
		public int? CC_StandardCode { get; set; }

		[JsonProperty]
		public int CC_Type { get; set; } = 0;

		/// <summary>
		/// 配置XML
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string ConfigXML { get; set; }

		/// <summary>
		/// 要素XML
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string ElementXML { get; set; }

		/// <summary>
		/// 节点层级
		/// </summary>
		[JsonProperty]
		public int? HW_level { get; set; }

		/// <summary>
		/// 是否为叶子节点
		/// </summary>
		[JsonProperty]
		public int? isLeafNode { get; set; }

		/// <summary>
		/// 是否保存
		/// </summary>
		[JsonProperty]
		public int? isSave { get; set; }

		/// <summary>
		/// 关键词
		/// </summary>
		[JsonProperty, Column(DbType = "ntext")]
		public string KeyWords { get; set; }

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string MC_influenceTypeID { get; set; }

		/// <summary>
		/// 优选XML
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string OptimizeXML { get; set; }

		/// <summary>
		/// 规则
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string Rule { get; set; }

		/// <summary>
		/// 规则
		/// </summary>
		[JsonProperty]
		public string  RuleItem { get; set; }

		/// <summary>
		/// 处理时间
		/// </summary>
		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

		/// <summary>
		/// XmlPath路径
		/// </summary>
		[JsonProperty, Column(StringLength = 512)]
		public string XmlPath { get; set; }

		/// <summary>
		/// 地域
		/// </summary>
		[JsonProperty]
		public string CC_District { get; set; }

		/// <summary>
		/// 是否机器学习,1=是；0=否
		/// </summary>
		[JsonProperty]
		public int? IsML { get; set; }

	}

}
